<template>
	<web-view :src="webUrl"></web-view>
</template>

<script>
	export default{
		data() {
			return {
				webUrl: ''
			}
		},
		onLoad(options) {
			const jsonData = JSON.parse(options.param)
			const dataParam = encodeURI(JSON.stringify(jsonData.dataParam))
			console.log(dataParam)
			this.webUrl = `${jsonData.url}?data=${dataParam}`
		}
	}
</script>

<style>
</style>
